﻿/* 
 *  这里面的数据需要通过配置文件来生成
 *  
 *  需求: ①支持群发 ②各种邮件协议支持 ③支持多个附件
 */
namespace Ycg.Mail
{
    public class MailAccountInfo
    {
        #region 个人邮箱信息
        private int _port = 25;
        private string _displayName = "杨曹贵";
        private string _frommAddress = "ycg166911@163.com";
        private string _userName = "ycg166911@163.com";
        private string _password = "Yangcaogui123!.+";
        private string _toAddress = "yangcaogui@163.com";
        private string _serverAddress = "smtp.163.com"; 
        #endregion

        public int Port
        {
            get { return this._port; }
            set { this._port = value; }
        }

        public string DisplayName
        {
            get { return this._displayName; }
            set { this._displayName = value; }
        }

        public string FromAddress
        {
            get { return this._frommAddress; }
            set { this._frommAddress = value; }
        }

        public string UserName
        {
            get { return this._userName; }
            set { this._userName = value; }
        }

        public string Password
        {
            get { return this._password; }
            set { this._password = value; }
        }

        public string ToAddress
        {
            get { return this._toAddress; }
            set { this._toAddress = value; }
        }

        public string ServerAddress
        {
            get { return this._serverAddress; }
            set { this._serverAddress = value; }
        }
    }
}
